package com.hjty;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.webkit.WebView;
import android.widget.Button;

public class Question extends Activity {
	WebView webView;
	Button zxzx;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.question);
		
		zxzx = (Button) findViewById(R.id.zxzx);
		zxzx.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
//				Intent zx = new Intent(Table.this, ZXun.class);
//				startActivity(zx);
				Intent intent = new Intent(Intent.ACTION_CALL);
				intent.setData(Uri.parse("tel:4006766553"));
				startActivity(intent);
			}
		});
		
		webView = (WebView) findViewById(R.id.web_question);
		
		webView.loadUrl("file:///android_asset/android_iphone/wenti.html");
	}

}
